//
//  CourseCenterInfoView.h
//  xpkc
//
//  Created by TopSageOSX on 14/12/19.
//  Copyright (c) 2014年 wanmeizty. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UIView+Frame.h"
#import "UIView+RectCorner.h"
#import <UIImageView+AFNetworking.h>
#import "DWCustomPlayerViewController.h"


@protocol CourseInfoDelegate <NSObject>

- (void)listenTestWithSpark:(NSString *)spark andVideoName:(NSString *)name;

@end
/**
 *  课程详情界面
 */
@interface CourseCenterInfoView : UIView<UIScrollViewDelegate>

/**
 *  大图
 */
@property (nonatomic, strong)UIImageView *courseImg;
/**
 *  标题
 */
@property (nonatomic, copy)NSString *courseTitle;
/**
 *  原价
 */
@property (nonatomic, copy)NSString *originalPrice;
/**
 *  折扣价
 */
@property (nonatomic, copy)NSString *discountPrice;
/**
 *  有限期
 */
@property (nonatomic, copy)NSString *validTerm;
/**
 *  讲师列表
 */
@property (nonatomic, strong)NSArray *teacherArray;

/**
 *  协议按钮
 */
@property (nonatomic, strong)UIButton *agreementBtn;
/**
 *  简介
 */
@property (nonatomic, copy)NSString *courseIntroduction;
/**
 *  目录
 */
@property (nonatomic, strong)NSArray *catalogArray;
/**
 *  评价
 */
@property (nonatomic, strong)NSArray *evaluationArray;
/**
 *  其他数据
 */
@property (nonatomic, strong)UIButton *buyBtn;

@property (nonatomic, strong)UIButton * addButton;

@property (nonatomic, strong)id<CourseInfoDelegate>delegate;


- (void)setValueForInfoView;

@end
